execute after one second javascript

62

execute after one second javascript -

setTimeout(function () {
  console.log('Hello world')
}, 1000)

setTimeout(() => {
  console.log('Foo bar')
}, 1000)

Comments

Submit
0 Comments